package com.xywy.fwc.net;

import java.util.List;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.xywy.fwc.bean.FwcHomeData;

public class DataListParser extends BaseParser<List<FwcHomeData>>{

		@Override
		public List<FwcHomeData> parseJson(String result) {
			List<FwcHomeData> mMessages = null ;
			try {
				Gson gson = new Gson();
				mMessages = gson.fromJson(result, new TypeToken<List<FwcHomeData>>(){}.getType());
			} catch (Exception e) {
				e.printStackTrace();
			}
			return mMessages;
		}
		
	}